package com.plant.service;

import com.plant.entity.UgcComplaint;
import com.plant.entity.UgcFaq;
import com.plant.entity.UgcFaqAnswer;
import com.plant.entity.UgcFeedback;
import com.plant.entity.UgcNewthings;
import com.plant.entity.UgcTopicJoin;
import com.plant.entity.UgcUploadImages;


/**
 * 
 * @author Java工程师--李琦
 * 
 * 
 *
 */
public interface NewThingsService {
	
	public boolean addnewthings(UgcNewthings th);              //-----1.添加发布新鲜事
	
	public Object onenewthings(UgcNewthings th);               //-----2.查找返回一个新鲜事对象
	
	public boolean addnewthingsurl(UgcUploadImages upi);       //---3.添加新鲜事图片地址
	
	public boolean deleteNewThings(UgcNewthings uth);          //---4.用户删除新鲜事
	
	public boolean delNewThingphoto(UgcNewthings uth);         //---5.用户删除新鲜事图片
	
	public boolean delfaq(UgcFaq ufq);                         //---6.删除求助内容
	
	public boolean delfaqphoto(UgcFaq ufq);                    //---7,删除求助图片
	
	public boolean delfaqAnswer(UgcFaqAnswer ufaA);            //---8.删除求助回答
	
	public boolean delTopicJoin(UgcTopicJoin utj);             //---9.删除话题参与
	
	public boolean delMyAnswerphoto(UgcFaqAnswer ufaA);        //---10.删除我的回答图片
	
	public boolean AddFeedBack(UgcFeedback ufb);               //---11添加反馈信息
	
	public boolean AddComplaint(UgcComplaint ucp);             //---12添加投诉
	
	public boolean AddTopicJoin(UgcTopicJoin utj);             //添加话题参与
	
}
